@import '@common/styles/index.scss';

.listItem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  // padding: $padding-3n 0;
  padding-top: $padding-3n;
  padding-bottom: $padding-3n;
  background-color: $white;

  .wrapper {
    display: flex;
    align-items: center;
  }

  .header {
    position: relative;
    height: 38px;
    margin-right: 12px;
    box-sizing: border-box;

    .icon {
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      bottom: -2px;
      right: -4px;
      border-radius: 50%;
      height: 20px;
      width: 20px;
      border: $white solid 1px;
      text-align: center;
      line-height: 20px;
      color: $white;
      &.like {
        background-color: $error-color;
      }
      &.heart {
        background-color: $warn-color;
      }
    }
  }

  .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: $font-size-primary;
    .title {
      color: $text-color-primary;
      line-height: 20px;
    }
    .subTitle {
      color: $text-color-secondary;
      line-height: 17px;
      font-size: $font-size-small;
    }
  }

  .footer {
    font-size: $font-size-label;
    color: $text-color-secondary;
    display: flex;
    align-items: center;
    .label {
      margin-right: 7px;
    }
    .rightIcon {
      margin-right: 3px;
    }
  }
  .button {
    height: 25px;
    width: 72px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
}


